package 队列;

public class Queue<E> {
	private LinkedList<Integer> list = new LinkedList<>();
	
	public int size() {
		return list.size();
	}
	
	public boolean isEmpty() {
		
		return list.isEmpty();
	}
	
	public void enQueue(int element) {
		list.add(element);
	}
	
	public int deQueue() {
		
		return list.remove(0);
	}
	
	public int front() {
		
		return list.get(0);
	}
	
	public void clear() {
		
	}
	
}
